package com.newlink.building.userinfo.mvp.contract

import com.newlink.building.common_base.base.IModel
import com.newlink.building.common_base.base.IPresenter
import com.newlink.building.common_base.base.IView
import com.newlink.building.common_base.model.bean.FamilyListData
import com.newlink.building.common_base.model.bean.FamilyManagementListData1
import com.newlink.building.common_base.model.bean.HttpResult
import io.reactivex.Observable

/**
 * @author wangyang
 * @date 2022/10/12
 * @description 我的——家庭管理——添加失败状态的详情页（邮箱）页面的Contract
 */
interface Module_UserInfo_FamilyManagementDetailAddFailEmailContract {

    interface Model : IModel {
        fun getData(phone: String): Observable<HttpResult<FamilyListData>>
    }

    interface View : IView {
        fun showData(list: MutableList<FamilyManagementListData1>)
    }

    interface Presenter : IPresenter<View> {
        fun getData(phone: String)
    }
}